Optimal. Leaf size=176 \[ \frac{\sqrt{a+b x} \sqrt{d+e x} \left (5 a^2 e^2-13 a b d e+11 b^2 d^2\right )}{b^3}+\frac{(b d-a e) \left (5 a^2 e^2-13 a b d e+11 b^2 d^2\right ) \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b} \sqrt{d+e x}}\right )}{b^{7/2} \sqrt{e}}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{2 \sqrt{a+b x} (d+e x)^{3/2} (4 b d-3 a e)}{b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.171327, antiderivative size = 176, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {951, 80, 50, 63, 217, 206} \[ \frac{\sqrt{a+b x} \sqrt{d+e x} \left (5 a^2 e^2-13 a b d e+11 b^2 d^2\right )}{b^3}+\frac{(b d-a e) \left (5 a^2 e^2-13 a b d e+11 b^2 d^2\right ) \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b} \sqrt{d+e x}}\right )}{b^{7/2} \sqrt{e}}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{2 \sqrt{a+b x} (d+e x)^{3/2} (4 b d-3 a e)}{b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 951
Rule 80
Rule 50
Rule 63
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{d+e x} \left (15 d^2+20 d e x+8 e^2 x^2\right )}{\sqrt{a+b x}} \, dx &=\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{\int \frac{\sqrt{d+e x} \left (3 e (3 b d-2 a e) (5 b d+2 a e)+12 b e^2 (4 b d-3 a e) x\right )}{\sqrt{a+b x}} \, dx}{3 b^2 e}\\ &=\frac{2 (4 b d-3 a e) \sqrt{a+b x} (d+e x)^{3/2}}{b^2}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{\left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \int \frac{\sqrt{d+e x}}{\sqrt{a+b x}} \, dx}{b^2}\\ &=\frac{\left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \sqrt{a+b x} \sqrt{d+e x}}{b^3}+\frac{2 (4 b d-3 a e) \sqrt{a+b x} (d+e x)^{3/2}}{b^2}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{\left ((b d-a e) \left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right )\right ) \int \frac{1}{\sqrt{a+b x} \sqrt{d+e x}} \, dx}{2 b^3}\\ &=\frac{\left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \sqrt{a+b x} \sqrt{d+e x}}{b^3}+\frac{2 (4 b d-3 a e) \sqrt{a+b x} (d+e x)^{3/2}}{b^2}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{\left ((b d-a e) \left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{d-\frac{a e}{b}+\frac{e x^2}{b}}} \, dx,x,\sqrt{a+b x}\right )}{b^4}\\ &=\frac{\left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \sqrt{a+b x} \sqrt{d+e x}}{b^3}+\frac{2 (4 b d-3 a e) \sqrt{a+b x} (d+e x)^{3/2}}{b^2}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{\left ((b d-a e) \left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{1-\frac{e x^2}{b}} \, dx,x,\frac{\sqrt{a+b x}}{\sqrt{d+e x}}\right )}{b^4}\\ &=\frac{\left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \sqrt{a+b x} \sqrt{d+e x}}{b^3}+\frac{2 (4 b d-3 a e) \sqrt{a+b x} (d+e x)^{3/2}}{b^2}+\frac{8 e (a+b x)^{3/2} (d+e x)^{3/2}}{3 b^2}+\frac{(b d-a e) \left (11 b^2 d^2-13 a b d e+5 a^2 e^2\right ) \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b} \sqrt{d+e x}}\right )}{b^{7/2} \sqrt{e}}\\ \end{align*}
Mathematica [A] time = 0.472013, size = 163, normalized size = 0.93 \[ \frac{\sqrt{d+e x} \left (\sqrt{a+b x} \left (15 a^2 e^2-a b e (49 d+10 e x)+b^2 \left (57 d^2+32 d e x+8 e^2 x^2\right )\right )+\frac{3 \sqrt{b d-a e} \left (5 a^2 e^2-13 a b d e+11 b^2 d^2\right ) \sinh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b d-a e}}\right )}{\sqrt{e} \sqrt{\frac{b (d+e x)}{b d-a e}}}\right )}{3 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.318, size = 392, normalized size = 2.2 \begin{align*} -{\frac{1}{6\,{b}^{3}}\sqrt{ex+d}\sqrt{bx+a} \left ( -16\,{x}^{2}{b}^{2}{e}^{2}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+15\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ){a}^{3}{e}^{3}-54\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ){a}^{2}bd{e}^{2}+72\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ) a{b}^{2}{d}^{2}e-33\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ){b}^{3}{d}^{3}+20\,\sqrt{be}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }xab{e}^{2}-64\,\sqrt{be}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }x{b}^{2}de-30\,\sqrt{be}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }{a}^{2}{e}^{2}+98\,\sqrt{be}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }abde-114\,\sqrt{be}\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }{b}^{2}{d}^{2} \right ){\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }}}{\frac{1}{\sqrt{be}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.7625, size = 948, normalized size = 5.39 \begin{align*} \left [-\frac{3 \,{\left (11 \, b^{3} d^{3} - 24 \, a b^{2} d^{2} e + 18 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} \sqrt{b e} \log \left (8 \, b^{2} e^{2} x^{2} + b^{2} d^{2} + 6 \, a b d e + a^{2} e^{2} - 4 \,{\left (2 \, b e x + b d + a e\right )} \sqrt{b e} \sqrt{b x + a} \sqrt{e x + d} + 8 \,{\left (b^{2} d e + a b e^{2}\right )} x\right ) - 4 \,{\left (8 \, b^{3} e^{3} x^{2} + 57 \, b^{3} d^{2} e - 49 \, a b^{2} d e^{2} + 15 \, a^{2} b e^{3} + 2 \,{\left (16 \, b^{3} d e^{2} - 5 \, a b^{2} e^{3}\right )} x\right )} \sqrt{b x + a} \sqrt{e x + d}}{12 \, b^{4} e}, -\frac{3 \,{\left (11 \, b^{3} d^{3} - 24 \, a b^{2} d^{2} e + 18 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} \sqrt{-b e} \arctan \left (\frac{{\left (2 \, b e x + b d + a e\right )} \sqrt{-b e} \sqrt{b x + a} \sqrt{e x + d}}{2 \,{\left (b^{2} e^{2} x^{2} + a b d e +{\left (b^{2} d e + a b e^{2}\right )} x\right )}}\right ) - 2 \,{\left (8 \, b^{3} e^{3} x^{2} + 57 \, b^{3} d^{2} e - 49 \, a b^{2} d e^{2} + 15 \, a^{2} b e^{3} + 2 \,{\left (16 \, b^{3} d e^{2} - 5 \, a b^{2} e^{3}\right )} x\right )} \sqrt{b x + a} \sqrt{e x + d}}{6 \, b^{4} e}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.32129, size = 602, normalized size = 3.42 \begin{align*} -\frac{\frac{180 \,{\left (\frac{{\left (b^{2} d - a b e\right )} e^{\left (-\frac{1}{2}\right )} \log \left ({\left | -\sqrt{b x + a} \sqrt{b} e^{\frac{1}{2}} + \sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \right |}\right )}{\sqrt{b}} - \sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \sqrt{b x + a}\right )} d^{2}{\left | b \right |}}{b^{2}} - \frac{4 \,{\left (\sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \sqrt{b x + a}{\left (2 \,{\left (b x + a\right )}{\left (\frac{4 \,{\left (b x + a\right )}}{b^{2}} + \frac{{\left (b^{6} d e^{3} - 13 \, a b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac{3 \,{\left (b^{7} d^{2} e^{2} + 2 \, a b^{6} d e^{3} - 11 \, a^{2} b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac{3 \,{\left (b^{3} d^{3} + a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} e^{\left (-\frac{5}{2}\right )} \log \left ({\left | -\sqrt{b x + a} \sqrt{b} e^{\frac{1}{2}} + \sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac{3}{2}}}\right )}{\left | b \right |} e^{2}}{b^{2}} - \frac{5 \,{\left (\sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \sqrt{b x + a}{\left (\frac{2 \,{\left (b x + a\right )} e^{\left (-2\right )}}{b^{4}} + \frac{{\left (b d e - 5 \, a e^{2}\right )} e^{\left (-4\right )}}{b^{4}}\right )} + \frac{{\left (b^{2} d^{2} + 2 \, a b d e - 3 \, a^{2} e^{2}\right )} e^{\left (-\frac{7}{2}\right )} \log \left ({\left | -\sqrt{b x + a} \sqrt{b} e^{\frac{1}{2}} + \sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac{7}{2}}}\right )} d{\left | b \right |} e}{b^{3}}}{12 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]